#pragma once
#include "d3dHeader.h"

namespace d3d
{
	template<class T> void Release(T t)
	{
		if(t){
			t->Release();
			t = 0;
		}
	}

	template<class T> void Delete(T t)
	{
		if(t){
			delete t;
			t = 0;
		}
	}


}